package jpa.entitys.promis.common;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;

import jpa.entitys.common.CommonEntity;


/**
 * The persistent class for the COST_PROJECT_ZONE database table.
 * 
 */
@Entity
@Table(name="COST_PROJECT_ZONE")
@NamedQueries({
    @NamedQuery(name = "CostProjectZone.findAll", query = " SELECT c FROM CostProjectZone c "),
    @NamedQuery(name = "CostProjectZone.findById", query = " SELECT c FROM CostProjectZone c WHERE c.id = :Id ")
})
public class CostProjectZone extends CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private CostProjectZonePK id;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}

	@Column(name="ADD_PRICE_SQM", precision=16, scale=2)
	private BigDecimal addPriceSqm;

	@Column(name="ALPHABET_TYPE", length=1)
	private String alphabetType;

	@Column(name="CREATED_BY")
	private String createdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="CREATED_ON")
	private Date createdOn;

	@Column(length=300)
	private String description;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="ESTIMATED_TRANSFER_DATE")
	private Date estimatedTransferDate;

	@Column(name="FLOOR_AREA", precision=16, scale=2)
	private BigDecimal floorArea;

	@Column(name="FLOOR_COMMON_AREA", precision=16, scale=2)
	private BigDecimal floorCommonArea;

	@Column(name="GEN_ALPHABET")
	private String genAlphabet;

	@Column(name="GEN_DESCRIPTION", length=300)
	private String genDescription;

	@Column(name="GEN_FORMAT", length=30)
	private String genFormat;

	@Column(name="GEN_INCLUDE_ZONE", length=300)
	private String genIncludeZone;

	@Column(name="GEN_NUMBER", precision=22)
	private BigDecimal genNumber;

	@Column(name="GEN_PREFIX", length=30)
	private String genPrefix;

	@Column(name="GEN_SUFFIX", length=30)
	private String genSuffix;

	@Column(name="GENERATE_TYPE", length=1)
	private String generateType;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="PRICE_SQM", precision=16, scale=2)
	private BigDecimal priceSqm;

	@Column(name="SEQ_NO", precision=22)
	private BigDecimal seqNo;

	@Column(name="TOTAL_COST", precision=22)
	private BigDecimal totalCost;

	@Column(name="TOTAL_FLOOR_AREA", precision=16, scale=2)
	private BigDecimal totalFloorArea;

	@Column(name="TOTAL_FLOOR_UNIT", precision=22)
	private BigDecimal totalFloorUnit;

	@Column(name="TOTAL_LABOUR", precision=22)
	private BigDecimal totalLabour;

	@Column(name="TOTAL_MATERIAL", precision=22)
	private BigDecimal totalMaterial;

	@Column(name="TOTAL_PRICE_SQM", precision=16, scale=2)
	private BigDecimal totalPriceSqm;

	@Column(name="TOTAL_SALE_PRICE", precision=22)
	private BigDecimal totalSalePrice;

    public CostProjectZone() {
    }

	public CostProjectZonePK getId() {
		return this.id;
	}

	public void setId(CostProjectZonePK id) {
		this.id = id;
	}
	
	public BigDecimal getAddPriceSqm() {
		return this.addPriceSqm;
	}

	public void setAddPriceSqm(BigDecimal addPriceSqm) {
		this.addPriceSqm = addPriceSqm;
	}

	public String getAlphabetType() {
		return this.alphabetType;
	}

	public void setAlphabetType(String alphabetType) {
		this.alphabetType = alphabetType;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getEstimatedTransferDate() {
		return this.estimatedTransferDate;
	}

	public void setEstimatedTransferDate(Date estimatedTransferDate) {
		this.estimatedTransferDate = estimatedTransferDate;
	}

	public BigDecimal getFloorArea() {
		return this.floorArea;
	}

	public void setFloorArea(BigDecimal floorArea) {
		this.floorArea = floorArea;
	}

	public BigDecimal getFloorCommonArea() {
		return this.floorCommonArea;
	}

	public void setFloorCommonArea(BigDecimal floorCommonArea) {
		this.floorCommonArea = floorCommonArea;
	}

	public String getGenAlphabet() {
		return this.genAlphabet;
	}

	public void setGenAlphabet(String genAlphabet) {
		this.genAlphabet = genAlphabet;
	}

	public String getGenDescription() {
		return this.genDescription;
	}

	public void setGenDescription(String genDescription) {
		this.genDescription = genDescription;
	}

	public String getGenFormat() {
		return this.genFormat;
	}

	public void setGenFormat(String genFormat) {
		this.genFormat = genFormat;
	}

	public String getGenIncludeZone() {
		return this.genIncludeZone;
	}

	public void setGenIncludeZone(String genIncludeZone) {
		this.genIncludeZone = genIncludeZone;
	}

	public BigDecimal getGenNumber() {
		return this.genNumber;
	}

	public void setGenNumber(BigDecimal genNumber) {
		this.genNumber = genNumber;
	}

	public String getGenPrefix() {
		return this.genPrefix;
	}

	public void setGenPrefix(String genPrefix) {
		this.genPrefix = genPrefix;
	}

	public String getGenSuffix() {
		return this.genSuffix;
	}

	public void setGenSuffix(String genSuffix) {
		this.genSuffix = genSuffix;
	}

	public String getGenerateType() {
		return this.generateType;
	}

	public void setGenerateType(String generateType) {
		this.generateType = generateType;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public BigDecimal getPriceSqm() {
		return this.priceSqm;
	}

	public void setPriceSqm(BigDecimal priceSqm) {
		this.priceSqm = priceSqm;
	}

	public BigDecimal getSeqNo() {
		return this.seqNo;
	}

	public void setSeqNo(BigDecimal seqNo) {
		this.seqNo = seqNo;
	}

	public BigDecimal getTotalCost() {
		return this.totalCost;
	}

	public void setTotalCost(BigDecimal totalCost) {
		this.totalCost = totalCost;
	}

	public BigDecimal getTotalFloorArea() {
		return this.totalFloorArea;
	}

	public void setTotalFloorArea(BigDecimal totalFloorArea) {
		this.totalFloorArea = totalFloorArea;
	}

	public BigDecimal getTotalFloorUnit() {
		return this.totalFloorUnit;
	}

	public void setTotalFloorUnit(BigDecimal totalFloorUnit) {
		this.totalFloorUnit = totalFloorUnit;
	}

	public BigDecimal getTotalLabour() {
		return this.totalLabour;
	}

	public void setTotalLabour(BigDecimal totalLabour) {
		this.totalLabour = totalLabour;
	}

	public BigDecimal getTotalMaterial() {
		return this.totalMaterial;
	}

	public void setTotalMaterial(BigDecimal totalMaterial) {
		this.totalMaterial = totalMaterial;
	}

	public BigDecimal getTotalPriceSqm() {
		return this.totalPriceSqm;
	}

	public void setTotalPriceSqm(BigDecimal totalPriceSqm) {
		this.totalPriceSqm = totalPriceSqm;
	}

	public BigDecimal getTotalSalePrice() {
		return this.totalSalePrice;
	}

	public void setTotalSalePrice(BigDecimal totalSalePrice) {
		this.totalSalePrice = totalSalePrice;
	}

}